package com.duowei.diandan.db.entry;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 机构设置 (SQL Server)
 */
@Entity
public class Jgsz {
    @PrimaryKey(autoGenerate = true)
    private long id;

    private String bmmc;

    /** 餐桌号从 by66 */
    private Integer by66 = 1;

    /** 到 by14 内循环 */
    private Integer by14 = 1;

    /** 云会员储值卡买单所以单品恢复原价 */
    private String by22;

    /** 云会员电子优惠券买单所以单品恢复原价 */
    private String by57;

    public Jgsz() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getBmmc() {
        return bmmc;
    }

    public void setBmmc(String bmmc) {
        this.bmmc = bmmc;
    }

    public Integer getBy66() {
        return by66;
    }

    public void setBy66(Integer by66) {
        this.by66 = by66;
    }

    public Integer getBy14() {
        return by14;
    }

    public void setBy14(Integer by14) {
        this.by14 = by14;
    }

    public String getBy22() {
        return by22;
    }

    public void setBy22(String by22) {
        this.by22 = by22;
    }

    public String getBy57() {
        return by57;
    }

    public void setBy57(String by57) {
        this.by57 = by57;
    }

    public static String querySql() {
        return "select bmmc, by66, by14, by22, by57 from jgsz|";
    }
}
